/**
 * 货主的相关接口
 */
import request from '@/common/js/api.js'
import DonMessage from '@/common/js/formMessage' // 引入消息拦截

const myMessage = new DonMessage()





// 用户列表（分页）
export const reqUserListPage = (data,params) => {
  return request.request({
    url: '/ly-code-admin-servicer/user/list/user?nickname='+params,
    method: 'post',
    data
  })
}

// 用户列表（不分页）
export const reqUserList = data => {
  return request.request({
    url: '/ly-jx-servicer/indicator/group/user/list',
    method: 'post',
    data
  })
}



// 货主列表
export const reqOwnerList = params => {
  return request.request({
    url: '/ly-wms-servicer/cargo/owner/page/condition',
    method: 'get',
    params
  })
}


// 部门列表
export const reqdeptlist = params => {
  return request.request({
    url: '/ly-wms-servicer/ownerDept/list',
    method: 'get',
    params
  })
}
